﻿using System;
using System.Collections.Generic;
using Citi.Scheduler.Domain;

namespace Citi.Scheduler.WebUi.Models
{
    public class ScheduleModel : ModelBase<ScheduleModel,Schedule>
    {
        public Enums.Periodicity Periodicity { get; set; }
        public int RepeatEvery { get; set; }
        public DateTime StartsOn { get; set; }
        public short? EndsAfter { get; set; }
        public DateTime? EndsOn { get; set; }
        public DateTime Time { get; set; }

        public IEnumerable<RepeatTypeModel> RepeatTypes { get; set; }
    }
}